import threading
import time


def sing():
    while True:
        print("我在唱歌，啦啦啦……")
        time.sleep(2)


def dance(msg):
    while True:
        print(msg)
        time.sleep(2)


t_sing = threading.Thread(target=sing)
t_dance = threading.Thread(target=dance, kwargs={"msg": "dancing!"})

t_sing.start()
t_dance.start()
